package com.gxuwz.hmr.project.system.agriculture.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 农合经办信息对象 sys_agr
 * 
 * @author ruoyi
 * @date 2021-05-05
 */
public class Agriculture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农合经办ID */
    @Excel(name = "农合经办ID")
    private Long agrId;

    /** 行政区域ID */
    @Excel(name = "行政区域ID")
    private Long regionId;

    /** 行政区域名称 */
    @Excel(name = "行政区域名称")
    private String regionName;

    /** 农合经办点 */
    @Excel(name = "农合经办点")
    private String agrName;

    /** 行政区域信息信息 */
    private List<Region> regionList;

    public void setAgrId(Long agrId)
    {
        this.agrId = agrId;
    }

    public Long getAgrId()
    {
        return agrId;
    }
    public void setRegionId(Long regionId)
    {
        this.regionId = regionId;
    }

    public Long getRegionId()
    {
        return regionId;
    }
    public void setRegionName(String regionName)
    {
        this.regionName = regionName;
    }

    public String getRegionName()
    {
        return regionName;
    }
    public void setAgrName(String agrName)
    {
        this.agrName = agrName;
    }

    public String getAgrName()
    {
        return agrName;
    }

    public List<Region> getRegionList()
    {
        return regionList;
    }

    public void setRegionList(List<Region> regionList)
    {
        this.regionList = regionList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agrId", getAgrId())
            .append("regionId", getRegionId())
            .append("regionName", getRegionName())
            .append("agrName", getAgrName())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("regionList", getRegionList())
            .toString();
    }
}
